/**
 * 版权所有(C) COVISINT 2015-2025
 * Copyright 2015-2025 COVISINT
 * 创建日期：Jun 29, 20172:25:50 PM
 * 创建人：yyang
 */
package com.wechat.framework.messages.token;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public class AccessToken {

	//获取到的凭证
	@Expose
	@SerializedName("access_token")
	private String token;

	//凭证有效时间，单位：秒
	@Expose
	@SerializedName("expires_in")
	private int expiresIn;

	//错误代码
	@Expose
	@SerializedName("errcode")
	private int errcode;

	//错误提示
	@Expose
	@SerializedName("errmsg")
	private String errmsg;

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public int getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(int expiresIn) {
		this.expiresIn = expiresIn;
	}

	public int getErrcode() {
		return errcode;
	}

	public void setErrcode(int errcode) {
		this.errcode = errcode;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
}
